package com.dy.lock.screen.dao.impl;

import org.springframework.stereotype.Repository;

import com.dy.lock.screen.dao.CustomerClientDao;
import com.dy.lock.screen.pojo.CustomerClientInfo;

@Repository("customerClientDao")
public class CustomerClientDaoImpl extends
		BaseDaoImpl<CustomerClientInfo, String> implements CustomerClientDao {

	@Override
	public String getQueryNamespace() {
		return "mybatis.xml.CustomerClientMapper";
	}

	@Override
	public CustomerClientInfo queryByPrimaryKey(String customerId) {
		return this.getSqlSession().selectOne(
				getQueryNamespace() + ".selectByPrimaryKey", customerId);
	}

}
